package com.kxmall.vehicle.mapper;

import com.kxmall.common.core.mapper.BaseMapperPlus;
import com.kxmall.vehicle.domain.KxVehicleBoxGoods;
import com.kxmall.vehicle.domain.vo.KxVehicleBoxGoodsVo;
import org.apache.ibatis.annotations.Param;

/**
 * 餐车商品Mapper接口
 */
public interface KxVehicleBoxGoodsMapper extends BaseMapperPlus<KxVehicleBoxGoodsMapper, KxVehicleBoxGoods, KxVehicleBoxGoodsVo> {
    /**
     * 更新车辆柜格状态
     * @param id
     * @param boxStatus
     * @return
     */
    Integer updateVehicleBoxStatus(@Param("id") Long id, @Param("boxStatus") Integer boxStatus);

    /**
     * 更新车辆柜格入柜状态
     * @param id
     * @param boxStates
     * @return
     */
    Integer updateVehicleBoxStates(@Param("id") Long id, @Param("boxStatus") Integer boxStates);

}
